<%@ page language="java" pageEncoding="UTF-8"%>
<%@page import="orest.back.membermanage.RegisterUserHandler"%>
<%@page import="net.ssta.core.db.RecordSet"%>
<%@page import="net.ssta.core.db.Record"%>
<%@page import="net.ssta.core.web.HTMLGenerator"%>
<%@page import="orest.back.userneeds.UserNeedsHandler"%>
<%@page import="net.ssta.common.LoginUser"%>
<%
	String path = request.getContextPath();
    String flag=request.getParameter("flag");
    
     
    String userId=LoginUser.getUserId();
    Record r=RegisterUserHandler.getUserById(userId);
   if(r==null){
	   r=new Record();
   }
    
%>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>


    <META http-equiv=Content-Type content="text/html; charset=utf-8" />
    <META http-equiv=x-ua-compatible content=ie=7 />
    <META content="MSHTML 6.00.6000.17107" name=GENERATOR />
    <link href="<%=path%>/common1/css/layout.css" rel="stylesheet" type="text/css" />
	<link href="<%=path%>/common1/css/user.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%=path%>/includes/styleBase/js/jquery.js"></script>
 
<title>用户信息修改</title>
 
<script type="text/javascript">
 
$(document).ready(function()
{
	if("<%=flag%>"=="true"){
	    alert("修改成功!");
	}
});

function checkForm(){
   if(!$("#search").Fvalidate()){
    return false;
  }
   
   document.userFrom.submit();
   return true;
}   


</script>


<style>
body, html {
	margin:0;
	padding:0;
}
	.ctable{
		font-size:12px;
		cellPadding:0px;
		cellSpacing:0px;
		background-color:#F6F9FF;
		
		} 
 
		.ctable tr{
		height:24px; 
		} 
		.ctable tr td{ 
		border:0px;
		border-top:1px #99bbe8 solid; 
		border-right:1px #99bbe8 solid;
		padding:5px; 
		vertical-align:middle;
		}
</style>

 
 
 
</head>
<body>



<%@include file="../common1/toplogin.jsp"%>    
<%@include file="../common1/topbanner.jsp"%> 
<%@include file="../common1/topmenu.jsp"%> 



<div id="contentmain">

<%@include file="include/pointConfig.jsp"%> 


 
 <div id="content_right">
       <jsp:include   page="./include/baseTop.jsp"    flush="true">   
		      <jsp:param    name="open"    value="5"    />   
		</jsp:include>

<form id="search" action="<%=path %>/register?method=modUser"  name="userFrom" method="post">
<input name="user_USERID" value="<%=r.getString("USERID","") %>" type="hidden"/>
<div class="multiEditPanel" style="border:0;padding:10px;width:90%;padding-left:20px;">
  <table cellpadding="0" align="center" cellspacing="0" border="0" class="ctable" width=90% style="border-left:1px solid #99bbe8;border-bottom:1px solid #99bbe8;border-right:0px solid red;">
    <tr >
      <td width="30%">用户名：</td>
      <td >
      	 <%=r.getString("LOGINNAME") %>&nbsp;
      </td>
     </tr>
  
    <tr >
      <td>剩余金额：</td>
      <td>
	   <%=r.getString("USERPOINT") %> &nbsp;
	  </td>
    </tr>
        
     
     <tr >
      <td>统包开始时间：</td>
      <td>
	   <%=r.getString("STARTDATE") %> &nbsp;
	  </td>
    </tr>
    
    <tr >
      <td>统包结束时间：</td>
      <td>
	   <%=r.getString("ENDDATE") %>&nbsp;
	  </td>
    </tr>
     
 </table>
</div>
</form>

  </div>
 </div>
 <%@include file="../../common1/bottom.jsp"%>    


</body> 
</html>